package com.example.wastes.staff.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wastes.common.pojo.Staff;
import com.example.wastes.common.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface StaffService extends IService<Staff> {
    List<Staff> findStaffName(String username);
    Staff tologin(String username);
    int saveStaff(@Param("username") String username, @Param("password") String password);
    int upload2 (Staff staff, MultipartFile file, HttpServletRequest request);
}
